package ddd7;

import java.util.HashMap;

public class AllWords {
    public static void main(String[] args) {
        HashMap<Character,Integer> map = new HashMap<>();
        String str = "djakdjsakljdklsa";
        for(char c : str.toCharArray()){
            map.put(c,map.getOrDefault(c,0)+1);
        }
    }
}
